package com.lzc.tlmail.tlmailproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzc.common.utils.PageUtils;
import com.lzc.tlmail.tlmailproduct.entity.AttrEntity;
import com.lzc.tlmail.tlmailproduct.vo.AttrrespVo;
import com.lzc.tlmail.tlmailproduct.vo.Attrvo;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author lzc
 * @email 1029669636@gmail.com
 * @date 2020-07-25 21:23:58
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(Attrvo attr);

    PageUtils queryBasePage(Map<String, Object> params, Long catelogId,String type);

    AttrrespVo getAttrInfo(Long attrId);

    void updateAttr(Attrvo attr);

    List<AttrEntity> attrServicegetAttrById(Long attrgroupId);

    PageUtils getNoAttrRelation(Map<String, Object> params, Long attrgroupId);

    List<Long> selectSearchAttrs(List<Long> longs);
}

